cmake_minimum_required(VERSION 3.10)

project(task8-learning)

find_package(OpenCV REQUIRED)

add_library(learning SHARED src/ONNXClassifier.cpp)

target_include_directories(learning PUBLIC include)

target_include_directories(learning PUBLIC ${OpenCV_INCLUDE_DIRS})

target_link_libraries(learning ${OpenCV_LIBS})

add_executable(task8 main.cpp)

target_link_libraries(task8 learning)